<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=s, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //空类型  null
        // let flag = null
        // console.log(flag)

        // let obj ={
        //     name:'zhangsan',
        //     age:18
        // }
        // let name = '李四'
        // let age = 18
        // let un
        // let flag = true
        // let nu = null
        // let num2 = 5555555

        // console. Log( name)
        // console. log(typeof age)
        // console. Log(typeof un)
        // console. Log(typeof flag)
        // console. log(typeof null)
        
        // let name = prompt('请输入姓名')
        // let age = prompt('请输入年龄')
        // document.write(`大家好我叫${name}今年${age}岁了`)

        // console.log(11+11)
        // console.log(11-11)
        // console.log('11'+11)
        // console.log('11'-11)
        // console.log('1'*1)
        // console.log(typeof + '123')
        // console.log(+'11'+11)
        // let num= +prompt('请输入手机号')
        // console.log(typeof num)



        let num1=prompt('请输入第一个数字')
        let num2 = +prompt('请输入第二个数字')
        document.write(num1+num2)

        let price = +prompt('请输入商品价格')
        let num = +prompt('请输入商品数量')
        let address = prompt('请输入收货地址')
        //计算总额
        let total = price * num
        //页面打印渲染
        document.write(`
        
        
        
        `)
    </script>
</body>
</html>